package com.yeyv.net.Web.Mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;

@Mapper
public interface GameAutoAuthMapper {
    @DS("GameLTDB1")
    @Select(value = "SELECT * FROM `actors` WHERE `accountname` LIKE #{user} or `actorname` LIKE #{user} limit 1")
    public HashMap<String,Object> getLTUser(String user);
}
